package com.lfnyxy.dao;

import com.lfnyxy.entity.BannerEntity;
import com.lfnyxy.query.BannerQuery;
import com.lfnyxy.vo.BannerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface BannerDao {
    int CreateItem(BannerEntity entity);

    int UpdateItem(BannerEntity entity);

    List <BannerVo> QueryPageList(BannerQuery query);

    List <BannerEntity> QueryAll();

    int QueryPageListCount(BannerQuery query);

    int CheckIsExist(BannerEntity entity);

    BannerEntity QueryItem(int Id);

    int DeleteItem(int Id);
}